<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.1//EN"
"http://struts.apache.org/dtds/struts-2.1.dtd">
<struts>
	<constant name="struts.custom.i18n.resources" value="globalMessages"></constant>
	<package name="default" extends="json-default">
		<action name="register" class="register">
			<result name="success">/index.jsp</result>
			<result name="input">/register.jsp</result>
		</action>
		<action name="login" class="login">
			<result name="success">/index.jsp</result>
			<result name="error">/login.jsp</result>
		</action>
		<action name="getQandaList" class="getQandaList">
			<result type="json">
				<param name="root">qandaList</param>
			</result>
		</action>
		<action name="getUserList" class="getUserList">
			<result type="json">
				<param name="root">userList</param>
			</result>
		</action>
		
	</package>
</struts>